package com.pingtai.indent.entity;

public class BatchIndentItem implements  java.io.Serializable{

	
	private static final long serialVersionUID = 5611987666851584000L;

	private String urlAndNumber;
	
	private int type; //0 成功 1 失败 原因  获取微博地址失败  2 失败 原因 其它原因
	
	private String msg;

	public String getUrlAndNumber() {
		return urlAndNumber;
	}

	public void setUrlAndNumber(String urlAndNumber) {
		this.urlAndNumber = urlAndNumber;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getMsg() {
		if(type==0){
			msg = "添加成功!√";
		}else if(type==1){
			msg = "添加失败，获取微博信息失败！×";
		}else if(type==2){
			msg = "添加失败！×";
		}
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}
	
	
}
